package com.youkeyi.ddy.cloud.basic.hr.employee.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 员工面试信息
 * </p>
 *
 * @author xiawang.liu
 * @since 2024-06-13
 */
@TableName("tbl_employee_interview_records")
public class TblEmployeeInterviewRecords extends Model<TblEmployeeInterviewRecords> {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("primary_key")
    private String primaryKey;

    /**
     * 解决并发更新问题,每次更新需要用 uuid 做比较判断数据是否已变更
     */
    @TableField("uuid")
    private String uuid;

    /**
     * 旧的uuid,mybatis 更新时需要
     */
    @TableField("old_uuid")
    private String oldUuid;

    /**
     * 员工key
     */
    @TableField("employee_key")
    private String employeeKey;

    /**
     * 面试日期
     */
    @TableField("start_date")
    private Date startDate;
    /**
     * 面试时间
     */
    @TableField("interview_time")
    private String interviewTime;


    /**
     * 面试部门key
     */
    @TableField("department_key")
    private String departmentKey;

    /**
     * 面试部门名称
     */
    @TableField("department_name")
    private String departmentName;

    /**
     * 面试岗位key
     */
    @TableField("position_key")
    private String positionKey;

    /**
     * 面试岗位name
     */
    @TableField("position_name")
    private String positionName;

    /**
     * 面试人key
     */
    @TableField("interviewer_key")
    private String interviewerKey;

    /**
     * 面试人名称
     */
    @TableField("interviewer_name")
    private String interviewerName;

    /**
     * 面试状态(0 未定义 1 预约 2 完成 3 缺席 4 改期 5 取消)
     */
    @TableField("interviewer_status")
    private String interviewerStatus;

    /**
     * 面试评语
     */
    @TableField("interview_comments")
    private String interviewComments;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 附件
     */
    @TableField("annex_key")
    private String annexKey;

    /**
     * 是否删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    /**
     * 创建人
     */
    @TableField("create_user_key")
    private String createUserKey;

    /**
     * 创建人名称
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField("update_user_key")
    private String updateUserKey;

    /**
     * 更新人名称
     */
    @TableField("update_user_name")
    private String updateUserName;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
    public String getOldUuid() {
        return oldUuid;
    }

    public void setOldUuid(String oldUuid) {
        this.oldUuid = oldUuid;
    }
    public String getEmployeeKey() {
        return employeeKey;
    }

    public void setEmployeeKey(String employeeKey) {
        this.employeeKey = employeeKey;
    }
    public Date getStartDate() {
        return startDate;
    }


    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getInterviewTime() {
        return interviewTime;
    }

    public void setInterviewTime(String interviewTime) {
        this.interviewTime = interviewTime;
    }

    public String getDepartmentKey() {
        return departmentKey;
    }

    public void setDepartmentKey(String departmentKey) {
        this.departmentKey = departmentKey;
    }
    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
    public String getPositionKey() {
        return positionKey;
    }

    public void setPositionKey(String positionKey) {
        this.positionKey = positionKey;
    }
    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }
    public String getInterviewerKey() {
        return interviewerKey;
    }

    public void setInterviewerKey(String interviewerKey) {
        this.interviewerKey = interviewerKey;
    }
    public String getInterviewerName() {
        return interviewerName;
    }

    public void setInterviewerName(String interviewerName) {
        this.interviewerName = interviewerName;
    }
    public String getInterviewerStatus() {
        return interviewerStatus;
    }

    public void setInterviewerStatus(String interviewerStatus) {
        this.interviewerStatus = interviewerStatus;
    }
    public String getInterviewComments() {
        return interviewComments;
    }

    public void setInterviewComments(String interviewComments) {
        this.interviewComments = interviewComments;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getAnnexKey() {
        return annexKey;
    }

    public void setAnnexKey(String annexKey) {
        this.annexKey = annexKey;
    }
    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
    public String getCreateUserKey() {
        return createUserKey;
    }

    public void setCreateUserKey(String createUserKey) {
        this.createUserKey = createUserKey;
    }
    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUserKey() {
        return updateUserKey;
    }

    public void setUpdateUserKey(String updateUserKey) {
        this.updateUserKey = updateUserKey;
    }
    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TblEmployeeInterviewRecords{" +
            "id=" + id +
            ", primaryKey=" + primaryKey +
            ", uuid=" + uuid +
            ", oldUuid=" + oldUuid +
            ", employeeKey=" + employeeKey +
            ", startDate=" + startDate +
            ", departmentKey=" + departmentKey +
            ", departmentName=" + departmentName +
            ", positionKey=" + positionKey +
            ", positionName=" + positionName +
            ", interviewerKey=" + interviewerKey +
            ", interviewerName=" + interviewerName +
            ", interviewerStatus=" + interviewerStatus +
            ", interviewComments=" + interviewComments +
            ", remark=" + remark +
            ", annexKey=" + annexKey +
            ", isDeleted=" + isDeleted +
            ", createUserKey=" + createUserKey +
            ", createUserName=" + createUserName +
            ", createTime=" + createTime +
            ", updateUserKey=" + updateUserKey +
            ", updateUserName=" + updateUserName +
            ", updateTime=" + updateTime +
        "}";
    }
}
